package com.zgjkhis.modules.system.service.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* @date 2020-05-14
*/
@Data
public class ScheduleDto implements Serializable {

    private Long id;

    @ApiModelProperty(value = "事件名称")
    private String contentName;
    @ApiModelProperty(value = "状态 1未完成 2已完成 3已取消")
    private Integer status;
    @ApiModelProperty(value = "事件内容")
    private String content;
    @ApiModelProperty(value = "预计时间")
    @TableField(fill= FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date planTime;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "创建人")
    private String createUserId;
    @ApiModelProperty(value = "创建人姓名")
    private String createUserName;
    @ApiModelProperty(value = "负责人")
    private String responsibleUserId;
    @ApiModelProperty(value = "负责人姓名")
    private String responsibleUserName;
    @ApiModelProperty(value = "操作人")
    private String updateUserId;
    @ApiModelProperty(value = "操作人姓名")
    private String updateUserName;
    @ApiModelProperty(value = "完成")
    @TableField(fill= FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date completeTime;
    @TableField(fill= FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    @TableField(fill= FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;


    private Integer isDel;
}
